.work-order-detail {
  &__wrapper {
    padding: 20px 20px;
    .nut-cell-group {
      &__wrap {
        &:first-child {
          border-top-left-radius: 20px;
          border-top-right-radius: 20px;
        }
        &:last-child {
          border-bottom-left-radius: 20px;
          border-bottom-right-radius: 20px;
        }
      }
    }
    .nut-textarea {
      padding: 0 !important;
    }
  }

  &__module-title {
    font-weight: bold;
    font-size: 32px;
  }

  &__status {
    font-size: 20px;
    padding: 4px 12px;
    border-radius: 8px;
  }

  &__footer {
    padding: 20px 10px;
    background-color: #fff;
    display: flex;
  }

  &__footer-btn {
    flex: 1;
    margin: 0 10px;
  }

  &__icon {
    object-fit: fill;
    width: fit-content;
    height: 25px;
    margin-left: 15px;
  }

  .work-order-detail-stock-table {
    width: 100%;
    border-bottom: none;
    word-break: break-all;

    &__header {
      display: flex;
      align-items: center;
      background-color: #f3f3f3;
      text-align: center;
      border: 1px solid #ececec;
      border-bottom: none;
      width: 100%;
    }

    &__header-item {
      border-right: 1px solid #ececec;
      padding: 20px 0;

      &:last-child {
        border-right: none;
      }
    }

    &__body {
      width: 100%;
      border: 1px solid #ececec;
    }
  }

  .work-order-detail-stock-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ececec;

    &:last-child {
      border-bottom: none;
    }

    &__code {
      width: 40%;
      text-align: center;
    }

    &__spare {
      display: flex;
      border-bottom: 1px solid #ececec;

      &:last-child {
        border-bottom: none;
      }
    }

    &__spare-wrapper {
      flex: 1;
    }
    &__spare-name,
    &__spare-num {
      display: inline-block;
      text-align: center;
      padding: 10px 0;
    }

    &__spare-name {
      width: calc(70% - 2px);
      border-left: 1px solid #ececec;
      border-right: 1px solid #ececec;
    }

    &__spare-num {
      width: calc(30% - 2px);
    }
  }
}
